package com.hilaver.dzmis.order;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

import com.hilaver.dzmis.basicinfo.BiDZColor;
import com.hilaver.dzmis.basicinfo.BiYarn;
import com.hilaver.dzmis.basicinfo.BiFranceCustomer;

public class OrderYarn {
	private Integer id;
	private String reference;
	private Integer referenceIndex;
	private String ctDesignType;
	private String ctSeasonNumber;
	private Float orderQuantity;
	private Date launchDate;
	private Date confirmedDate;
	private String isConfirmed;
	private Float totalQuantity;
	private BiFranceCustomer biFranceCustomer;
	private BiDZColor biDZColor;
	private BiYarn biYarn;
	private String remark;
	
	private Set orderYarnLots = new HashSet(0);
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getCtDesignType() {
		return ctDesignType;
	}
	public void setCtDesignType(String ctDesignType) {
		this.ctDesignType = ctDesignType;
	}
	public String getCtSeasonNumber() {
		return ctSeasonNumber;
	}
	public void setCtSeasonNumber(String ctSeasonNumber) {
		this.ctSeasonNumber = ctSeasonNumber;
	}
	public Date getLaunchDate() {
		return launchDate;
	}
	public void setLaunchDate(Date launchDate) {
		this.launchDate = launchDate;
	}
	public Date getConfirmedDate() {
		return confirmedDate;
	}
	public void setConfirmedDate(Date confirmedDate) {
		this.confirmedDate = confirmedDate;
	}
	public String getIsConfirmed() {
		return isConfirmed;
	}
	public void setIsConfirmed(String isConfirmed) {
		this.isConfirmed = isConfirmed;
	}
	public Float getTotalQuantity() {
		return totalQuantity;
	}
	public void setTotalQuantity(Float totalQuantity) {
		this.totalQuantity = totalQuantity;
	}
	public BiFranceCustomer getBiFranceCustomer() {
		return biFranceCustomer;
	}
	public void setBiFranceCustomer(BiFranceCustomer biFranceCustomer) {
		this.biFranceCustomer = biFranceCustomer;
	}
	public BiDZColor getBiDZColor() {
		return biDZColor;
	}
	public void setBiDZColor(BiDZColor biDZColor) {
		this.biDZColor = biDZColor;
	}
	public BiYarn getBiYarn() {
		return biYarn;
	}
	public void setBiYarn(BiYarn biYarn) {
		this.biYarn = biYarn;
	}
	public Float getOrderQuantity() {
		return orderQuantity;
	}
	public void setOrderQuantity(Float orderQuantity) {
		this.orderQuantity = orderQuantity;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public Set getOrderYarnLots() {
		return orderYarnLots;
	}
	public void setOrderYarnLots(Set orderYarnLots) {
		this.orderYarnLots = orderYarnLots;
	}
	public String getReference() {
		return reference;
	}
	public void setReference(String reference) {
		this.reference = reference;
	}
	public Integer getReferenceIndex() {
		return referenceIndex;
	}
	public void setReferenceIndex(Integer referenceIndex) {
		this.referenceIndex = referenceIndex;
	}
	
	@Override
	public String toString() {
		return this.reference + this.biDZColor;
	}
}
